package com.groupbuying.sysconfig.dao;

import com.groupbuying.sysconfig.domain.SysconfigAlipayMessageDO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 支付宝注册配置表
 * @author gaoruijun
 * @email 18511893135@163.com
 * @date 2019-07-26 11:25:47
 * @des
 */

@Mapper
@Repository
public interface SysconfigAlipayMessageDao {

	Map<String,Object> get(Integer id);
	
	List<SysconfigAlipayMessageDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(SysconfigAlipayMessageDO sysconfigAlipayMessage);
	
	int update(SysconfigAlipayMessageDO sysconfigAlipayMessage);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	/**
	 * 根据appliname查询
	 * @param applicationName
	 * @return
	 */
	Map<String,String> getByAppliName(String applicationName);

}
